algorithm running time

welcome to shbcf.ru